﻿
using System;
using System.Collections.Generic;
using System.Text;

namespace DependencyInjection.Core
{
    class Driver
    {
        private IVehicle _car;

        public Driver()
        {

        }

        public Driver(IVehicle car)
        {
            _car = car;
        }

        

        public void Run()
        {
            _car.Run();
        }
    }
}
